import { chatHttp } from '@/utils/request';
import { IMessageListItem } from '../../c-cpns/ChatTool/type';
import type { IRes } from '@/utils/request';

// 获取消息列表
export const getChatList = () =>
	chatHttp.get<IRes<IMessageListItem[]>>({
		url: 'message/chat_list'
	});
